package org.jash.utils.mvi

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import kotlinx.coroutines.channels.Channel

open class BaseViewModel<I, S>:ViewModel() {
    val intent by lazy { Channel<I>(Channel.UNLIMITED) }
    val state by lazy { MutableLiveData<S>() }
}
